package com.hqyj.javaGraduation.hotel.account.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hqyj.javaGraduation.common.MyPage;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用于会员管理
 */

@Data
public class AccountUser extends MyPage implements Serializable {
    @TableId(value = "user_id", type = IdType.AUTO)
    private int userId;
    private String userName;
    private String userSex;
    private int userAge;
    private String userAddress;
    private String userAccount;
    private String userPassword;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date userCreateDate;
    private String userEmail;
    private String userIpone;
    private String userMember;
    private int userIntegral;
    private String userImage;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date userLastDate;
}
